package com.tyj.movie.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *     影院
 * </p>
 *
 * @author tyj
 * @since 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MovieTheatre implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 行政区id
     */
    private Integer administrativeRegionId;

    /**
     * 影院名
     */
    private String name;


    /**
     * 地址
     */
    private String address;

    /**
     * 标准价格
     */
    private BigDecimal price;

    /**
     * 距离多远
     */
    private Integer distance;

    /**
     * 电话
     */
    private String phone;

    /**
     * 影院照片
     */
    private String previewUrl;

    /**
     * 创建日期
     */
    private Date createDate;

    /**
     * 状态0未删除 1已删除
     */
    @TableLogic
    private Integer state;

    private String brandName;
}
